# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=x64dbg
pkgver=2025.07.04
_pkgver=16-03
pkgrel=1
pkgdesc='An open-source x64/x32 debugger for windows.'
url='https://github.com/x64dbg/x64dbg/releases'
groups=('blackarch' 'blackarch-windows' 'blackarch-debugger')
license=('GPL3')
arch=('any')
source=("$pkgname.zip::https://github.com/x64dbg/x64dbg/releases/download/2025.06.30/snapshot_${pkgver//./-}_${_pkgver}.zip")
sha512sums=('0fba5e246a2b616b426b0a7cf2ee9c62892e8f193a2e9682e1f9dc109a6524ed3ee5c9b66410ca37d9962bb3fdcf37a679ae8f7747c6434f64998327146255fa')

package() {
  install -dm 755 "$pkgdir/usr/share/windows/$pkgname"

  rm "$pkgname.zip"

  cp -a * "$pkgdir/usr/share/windows/$pkgname"
}

